package com.ruileroi.ai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruileroi.ai.entity.po.SpringAiChatMemory;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: ruileroi-ai
 * @description:
 * @author: wangrui
 * @create: 2025-05-25 19:21
 **/

public interface SpringAiChatMemoryMapper extends BaseMapper<SpringAiChatMemory> {

    @Select("SELECT DISTINCT conversation_id FROM spring_ai_chat_memory")
    List<String> listConversationIds();
}